/******************************************************************************
* File description: settingmodelconfigui.h
* Function: 设置-模型配置
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-30
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#ifndef SETTINGMODELCONFIGUI_H
#define SETTINGMODELCONFIGUI_H

#include <QObject>
#include <QQuickWidget>
#include <QQmlContext>

#include "settingmodelconfigfilterui.h"
#include "settingmodelconfighunheui.h"
#include "settingmodelconfigchangepwdui.h"

class SettingModelConfigUI : public QQuickWidget
{
    Q_OBJECT

signals:
    void settingReturnSig();

private slots:
    // qml的信号
    void onFilterPage(); // 打开筛选界面
    void onHunHePage(); // 打开混合判定界面
    void onChangePwdPage(); // 打开修改密码界面

public:
    SettingModelConfigUI();
    ~SettingModelConfigUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;

    // 页面
    // 筛选
    SettingModelConfigFilterUI *filterUI;
    // 混合
    SettingModelConfigHunHeUI *hunHeUI;
    // 修改密码
    SettingModelConfigChangePwdUI *changePwdUI;
};

#endif // SETTINGMODELCONFIGUI_H
